<!DOCTYPE html>
<html lang="zh-CN">
<!-- 消息通知 -->
<div th:fragment="notify_comment_item(msg)" class="notification">
  <a th:href="'/user/home?userId=' + ${msg.operateUserId}" class="" target="_blank">
    <img th:src="${msg.operateUserPhoto}" class="notification-img" loading="lazy" />
  </a>
  <div class="notification-right">
    <div class="notification-content">
      <div class="profile">
        <a th:href="'/user/home?userId=' + ${msg.operateUserId}" class="" target="_blank">
          <span class="name" th:text="${msg.operateUserName}">一灰灰</span>
        </a>
        评论了你的文章
        <a th:href="'/article/detail/' + ${msg.relatedId}">
          <span th:text="${msg.relatedInfo}" class="title-article">
            万字总结：分布式系统的38个知识点
          </span>
        </a>
      </div>
    </div>
    <div class="notification-comment" th:text="${msg.msg}">m</div>
    <div class="notification-bottom">
      <span class="notification-time"
        th:text="${T(com.github.paicoding.forum.core.util.DateUtil).time2day(msg.createTime)}">
        4天前
      </span>
      <div class="notification-action">
        <a th:href="'/article/detail/' + ${msg.relatedId}" class="notification-action-item">
          <img class="read-comment-praise"
            src="" />
          <span class="action-text">点赞</span>
        </a>
        <a th:href="'/article/detail/' + ${msg.relatedId} + '#commentList'" class="notification-action-item">
          <img
            class="read-comment-praise"
            src="" />
          <span class="action-text">回复</span>
        </a>
      </div>
    </div>
  </div>
</div>

</html>